| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal entityType As Type, _ ByVal ParamArray values() As Object _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim entityType As Type Dim values() As Object Dim instance As New EntityKey(entityType, values)  | |
| C# | |
|---|---|
public EntityKey( Type entityType, params object[] values )  | |
| C++/CLI | |
|---|---|
public: EntityKey( Type^ entityType, ... array<Object^>^ values )  | |
Parameters
- entityType
 - The Entity type
 - values
 - The values of the primary key properties
 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family